package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.OrderStatus;
import com.ygqh.baby.ao.PayType;

public class ActionOrder {
	private Long id;

	private Long actionId;

	private String orderId;

    private Long userId;

	private BigDecimal totalMoney;

	private String skuCode;

	private String productName;

	private BigDecimal salesPrice;

	private String size;

	private Long amount;

	private Date createTime;

	private DataStatus status;
	
	private PayType payType;
	
	private OrderStatus orderStatus;
	
	private PickWay pickWay;
	
	private Date paidTime;
	
	private String remark;
	
	/*---------------------------*/
	private List<ActionProduct> detailModels;

	public ActionOrder() {
		super();
	}

	public ActionOrder(Long actionId, String orderId, Long userId, BigDecimal totalMoney, String skuCode, String productName, BigDecimal salesPrice, String size,
			Long amount, Date createTime, PayType payType, OrderStatus orderStatus, PickWay pickWay, String remark) {
		super();
		this.actionId = actionId;
		this.orderId = orderId;
		this.userId = userId;
		this.totalMoney = totalMoney;
		this.skuCode = skuCode;
		this.productName = productName;
		this.salesPrice = salesPrice;
		this.size = size;
		this.amount = amount;
		this.createTime = createTime;
		this.payType = payType;
		this.orderStatus = orderStatus;
		this.pickWay = pickWay;
		this.remark = remark;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId == null ? null : orderId.trim();
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode == null ? null : skuCode.trim();
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName == null ? null : productName.trim();
	}

	public BigDecimal getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(BigDecimal salesPrice) {
		this.salesPrice = salesPrice;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size == null ? null : size.trim();
	}

	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getActionId() {
		return actionId;
	}

	public void setActionId(Long actionId) {
		this.actionId = actionId;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}
	
	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType;
	}

	public OrderStatus getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(OrderStatus orderStatus) {
		this.orderStatus = orderStatus;
	}

	public PickWay getPickWay() {
		return pickWay;
	}

	public void setPickWay(PickWay pickWay) {
		this.pickWay = pickWay;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public void setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<ActionProduct> getDetailModels() {
		return detailModels;
	}

	public void setDetailModels(List<ActionProduct> detailModels) {
		this.detailModels = detailModels;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public enum PickWay {SinceLift, Logistics}

}